package com.zjl.zweather.logic.network


import com.zjl.zweather.logic.model.PlaceResponse
import com.zjl.zweather.ui.app.ZWeatherApp
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Created by admin on 2020/12/1 .
 * With com.zjl.zweather.logic.network
 */
/**
 * Created by admin on 2020/12/1 .
 * With com.zjl.zweather.logic.network
 */
interface PlaceService {

    @GET("v2/place?token=${ZWeatherApp.TOKEN}&lang=zh_CN")
    fun searchPlaces(@Query("query") query: String): Call<PlaceResponse>

}